package com.petc.api.controller.view.base;

import com.petc.api.controller.view.BaseDataView;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 微信小程序授权登录
 */
@Data
public class UserLoginView extends BaseDataView {


    /**
     * 微信授权code
     */
    @NotBlank(message = "微信授权code不能为空")
    private String code;
}
